<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8">
		<title>JS Basic</title>
	
	</head>
	<body>
		<div id="div1">
			for(var i=0;i<10;i++){
					document.writeln(i+"<br/>");
			}
		</div>
		<div id="div2">
			<script type="text/javascript">
				for(var i=0;i<10;i++){
					document.writeln(i+"<br/>");
					console.log("Log:"+i);
				}
			</script>
		</div>
	</body>
</html>